var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.askMenu("坐着小型飞船就能前往你想去的甲板。\r\n要去哪儿呢？\r\n\r\n#b#L0##m993060045##k#l\r\n\r\n#L1#不使用小型飞船。#l", 24, 3003643)
        } else {
            if (status === a++) {
                if (b == 0) {
                    cm.dispose();
                    cm.warp(993060045, 1, false)
                } else {
                    cm.dispose()
                }
            }
        }
    }
};